﻿namespace ECommon
{
    /// <summary>
    /// 日志级别
    /// </summary>
    internal enum LogLevel
    {
        /// <summary>
        /// 所有
        /// </summary>
        All = 0,
        /// <summary>
        /// 追溯
        /// </summary>
        Trace = 1,
        /// <summary>
        /// 调试
        /// </summary>
        Debug = 2,
        /// <summary>
        /// 信息
        /// </summary>
        Info = 3,
        /// <summary>
        /// 警告
        /// </summary>
        Warning = 4,
        /// <summary>
        /// 错误
        /// </summary>
        Error = 5,
        /// <summary>
        /// 致命
        /// </summary>
        Fatal = 6,
        /// <summary>
        /// 关闭
        /// </summary>
        Off = 7
    }

    /// <summary>
    /// 日志类型
    /// </summary>
    internal enum LogType
    {
        /// <summary>
        /// 简单
        /// </summary>
        Easy = 0,
        /// <summary>
        /// 集成
        /// </summary>
        Compact = 1,
        /// <summary>
        /// 详细
        /// </summary>
        Detail = 2
    }

    /// <summary>
    /// 布尔转换样式
    /// </summary>
    public enum BoolStyle
    {
        /// <summary>
        /// true/false
        /// </summary>
        En,

        /// <summary>
        /// T/F
        /// </summary>
        EnShort,

        /// <summary>
        /// 0/1
        /// </summary>
        Num,

        /// <summary>
        /// 真/假
        /// </summary>
        ZhenJia,

        /// <summary>
        /// 是/否
        /// </summary>
        ShiFou,

        /// <summary>
        /// 对/错
        /// </summary>
        DuiCuo
    }
}